package org.tinygroup.bizframe.dao.inter.constant;

import org.tinygroup.bizframe.dao.inter.pojo.TsysDictEntry;
import org.tinygroup.tinysqldsl.base.Column;
import org.tinygroup.tinysqldsl.base.Table;

/**
 * <!-- begin-user-doc --> 字典条目表 * <!-- end-user-doc -->
 */
public class TsysDictEntryTable extends Table {

	/**
	 * <!-- begin-user-doc --> <!-- end-user-doc -->
	 */
	public static final TsysDictEntryTable TSYS_DICT_ENTRY_TABLE = new TsysDictEntryTable();

	/**
	 * <!-- begin-user-doc --> ID * <!-- end-user-doc -->
	 */
	public final Column ID = new Column(this, "id");
	/**
	 * <!-- begin-user-doc --> 字典条目编号 * <!-- end-user-doc -->
	 */
	public final Column DICT_ENTRY_CODE = new Column(this, "dict_entry_code");
	/**
	 * <!-- begin-user-doc --> 分类编号 * <!-- end-user-doc -->
	 */
	public final Column KIND_CODE = new Column(this, "kind_code");
	/**
	 * <!-- begin-user-doc --> 字典条目名称 * <!-- end-user-doc -->
	 */
	public final Column DICT_ENTRY_NAME = new Column(this, "dict_entry_name");
	/**
	 * <!-- begin-user-doc --> 控制标志 * <!-- end-user-doc -->
	 */
	public final Column CTRL_FLAG = new Column(this, "ctrl_flag");
	/**
	 * <!-- begin-user-doc --> 备注 * <!-- end-user-doc -->
	 */
	public final Column REMARK = new Column(this, "remark");

	private static java.util.Map<String, String> mappings = new java.util.Hashtable<String, String>();

	public String getFieldName(String attrName) {
		return mappings.get(attrName);
	}

	public TsysDictEntryTable() {
		super("tsys_dict_entry");
	}

	public TsysDictEntryTable(String schemaName) {
		super(schemaName, "tsys_dict_entry");
	}

	public TsysDictEntryTable(String schemaName, String alias) {
		super(schemaName, "tsys_dict_entry", alias);
	}

	public TsysDictEntryTable(String schemaName, String alias, boolean withAs) {
		super(schemaName, "tsys_dict_entry", alias, withAs);
	}

	public boolean isAutoGeneratedKeys() {
		return true;
	}

	public Class<TsysDictEntry> getPojoType() {
		return TsysDictEntry.class;
	}

	static {
		mappings.put("id", "id");
		mappings.put("dictEntryCode", "dict_entry_code");
		mappings.put("kindCode", "kind_code");
		mappings.put("dictEntryName", "dict_entry_name");
		mappings.put("ctrlFlag", "ctrl_flag");
		mappings.put("remark", "remark");

	}

}
